
LOCAL_PATH := $(call my-dir)

#include $(CLEAR_VARS)
#LOCAL_MODULE := cutils
#LOCAL_SRC_FILES := /home/hisi/customer/HiSTBAndroidV600R003C00SPC020/software/HiSTBAndroidV600R003C00SPC020/out/target/product/Hi3798MV200/obj/STATIC_LIBRARIES/libcutils_intermediates/libcutils.a
#include $(PREBUILT_STATIC_LIBRARY)

include $(CLEAR_VARS)
include $(SDK_DIR)/Android.def

LOCAL_MODULE := libiis
ALL_DEFAULT_INSTALLED_MODULES += $(LOCAL_MODULE)

LOCAL_MODULE_TAGS := optional

LOCAL_CFLAGS := $(CFG_HI_CFLAGS) $(CFG_HI_BOARD_CONFIGS)
LOCAL_CFLAGS += -DLOG_TAG=\"$(LOCAL_MODULE)\"

LOCAL_SRC_FILES :=  cn_caratel_I2S_I2SSDK.c

LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_C_INCLUDES += $(COMMON_UNF_INCLUDE)
LOCAL_C_INCLUDES += $(COMMON_DRV_INCLUDE)
LOCAL_C_INCLUDES += $(COMMON_API_INCLUDE)
LOCAL_C_INCLUDES += $(MSP_UNF_INCLUDE)
LOCAL_C_INCLUDES += $(MSP_DRV_INCLUDE)
LOCAL_C_INCLUDES += $(MSP_API_INCLUDE)
LOCAL_C_INCLUDES += $(SAMPLE_DIR)/common
LOCAL_C_INCLUDES += $(COMPONENT_DIR)/ha_codec/include

#LOCAL_STATIC_LIBRARIES := cutils

LOCAL_SHARED_LIBRARIES := \
    liblog                \
    libcutils             \
    libdl                 \
    libm                  \
    libhi_common          \
    libhi_msp


include $(BUILD_SHARED_LIBRARY)